package com.java.design.spring.beans.factory;

/**
 * @author dgg
 * @date 2023/3/29 23:28
 * @description: IOC容器父接口
 */
public interface BeanFactory {

    Object getBean(String name) throws Exception;

    <T> T getBean(String name, Class<? extends T> clazz) throws Exception;
}
